Partial words and the critical factorization theorem revisited
نویسندگان
چکیده
In this paper, we consider one of the most fundamental results on periodicity of words, namely the critical factorization theorem. Given a word w and nonempty words u, v satisfying w = uv, the minimal local period associated to the factorization (u, v) is the length of the shortest square at position |u| − 1. The critical factorization theorem shows that for any word, there is always a factorization whose minimal local period is equal to the minimal period (or global period) of the word. Crochemore and Perrin presented a linear time algorithm (in the length of the word) that finds a critical factorization from the computation of the maximal suffixes of the word with respect to two total orderings on words: the lexicographic ordering related to a fixed total ordering on the alphabet, and the lexicographic ordering obtained by reversing the order of letters in the alphabet. Here, by refining Crochemore and Perrin’s algorithm, we give a version of the critical factorization theorem for partial words (such sequences may contain “do not know” symbols or “holes”). Our proof provides an efficient algorithm which computes a critical factorization when one exists. Our results extend those of Blanchet-Sadri and Duncan for partial words with one hole. A World Wide Web server interface at http://www.uncg.edu/mat/research/cft2/ has been established for automated use of the program.
منابع مشابه
Partial words and the critical factorization theorem
The study of combinatorics on words, or finite sequences of symbols from a finite alphabet, finds applications in several areas of biology, computer science, mathematics, and physics. Molecular biology, in particular, has stimulated considerable interest in the study of combinatorics on partial words that are sequences that may have a number of “do not know” symbols also called “holes”. This pa...
متن کاملOn the Density of Critical Factorizations
We investigate the density of critical positions, that is, the ratio between the number of critical positions and the number of all positions of a word, in infinite sequences of words of index one, that is, the period of which is longer than half of the length of the word. On one hand, we considered words with the lowest possible number of critical points, namely one, and show, as an example, t...
متن کاملDefect theorems with compatibility re- lations
We consider words together with a compatibility relation induced by a relation on letters. Unique factorization with respect to two arbitrary word relations R and S defines the (R, S)-freeness of the semigroup considered. We generalize the stability theorem of Schützenberger and Tilson’s closure result for (R, S)free semigroups. The inner and the outer (R, S)-unique factorization hull and the (...
متن کاملPartial words and a theorem of Fine and Wilf revisited
A word of length n over a 1nite alphabet A is a map from {0; : : : ; n − 1} into A. A partial word of length n over A is a partial map from {0; : : : ; n− 1} into A. In the latter case, elements of {0; : : : ; n−1} without image are called holes (a word is just a partial word without holes). In this paper, we extend a fundamental periodicity result on words due to Fine and Wilf to partial words...
متن کاملCross-Linguistic Transfer Revisited: The Case of English and Persian
The present study sought to investigate the evidence for cross-linguistic transfer in a partial English immersion and non-immersion educational setting. To this end, a total of 145 first, third and fifth graders in a partial English immersion program and 95 students from the same grade levels in a non-immersion program were chosen. Six different English and Persian tests were administered: the ...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید
ثبت ناماگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید
ورودعنوان ژورنال:
- Theor. Comput. Sci.
دوره 385 شماره
صفحات -
تاریخ انتشار 2007